package com.example.department.Entity;

import java.sql.Date;

//风采秀评论表
public class Fengcomment { //两个外键
    private int cid;
    private int userid;
    private String ccontent; //评论的内容
    private Date ctime; //评论时间
    private int fid; //风采秀id
    private User user; //用户
    private Fengcaixiu fengcaixiu; //风采秀

    public Fengcomment() {
    }

    public Fengcomment(int cid, int userid, String ccontent, Date ctime, int fid, User user, Fengcaixiu fengcaixiu) {
        this.cid = cid;
        this.userid = userid;
        this.ccontent = ccontent;
        this.ctime = ctime;
        this.fid = fid;
        this.user = user;
        this.fengcaixiu = fengcaixiu;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getCcontent() {
        return ccontent;
    }

    public void setCcontent(String ccontent) {
        this.ccontent = ccontent;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Fengcaixiu getFengcaixiu() {
        return fengcaixiu;
    }

    public void setFengcaixiu(Fengcaixiu fengcaixiu) {
        this.fengcaixiu = fengcaixiu;
    }
}
